package com.quectel.core.module.partyeducation.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 在这里编写说明
 *
 * @author: ryan
 * @email: ryan.ran@quectel.com
 * @date: 2023-06-14 13:33:00
 */
@Schema
@Data
public class ResourceCheckDto implements Serializable {
    @Schema(description = "资源 id")
    @NotNull
    private Long id;
    @Schema(description = "操作类型 1 查看 2 下载")
    @NotNull
    @Range(min = 1, max = 2)
    private Byte checkType;


    private PartyEducationLibraryUserDto partyEducationLibraryUserDto;
}
